package com.guangzhi.weijianzhi.context;
/**
 * 一个全局的实体，在登录的时候获取
 * @author Administrator
 *
 */
public class WeiJianZhiEntity {
	public static String id ="";
	public static String username="";
	public static String scope="";
	public static String tel="";
	public static String token_type="";
	public static String expires_in="";
	
	public static String refresh_token="";
	
	public static String userPic="";
	public static String access_token="";
	public static String userType="";
	public static String qiNiuiToken="";
	public static int isLogin =0;
	/**
	 * 判断是否是个人 wejong    
	 * @return
	 */
	
	public static boolean isUser(){
		
		if("C".equals(userType)){
			return false;
		}else{
			return true;
		}    
	}
	
	public static void exitApp(){
		refresh_token="";
		access_token="";
		userType="";
		qiNiuiToken="";
		isLogin=0;
	}
}
